import { TimeStamp } from ".";
export interface User extends TimeStamp {
    _id: string;
    username: string;
	email: string;
	roles?: string[];
	status?: boolean;
	password: string;
	nickname?: string;
	avatar?: string;
	remark?: string;
}

export type CreateUserReq = Omit<User,"_id" | keyof TimeStamp> & {
    
};

export interface UpdateUserReq extends Omit<User,keyof TimeStamp> {
    
}